class_name CampInfoList
extends Resource

@export var area_paths:Array[NodePath]
@export var camp_infos:Array[CampAreaInfo]:
	set = _setter_camp_infos
var camp_info_dict:Dictionary = {}

func _setter_camp_infos(value):
	camp_infos = value
	for camp_info in camp_infos:
		if not camp_info_dict.has(camp_info.camp):
			camp_info_dict.set(camp_info.camp,camp_info)
